﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace A2DFramework.QueueService
{
    public interface IQueueProvider
    {
        bool IsQueueExists(string queueName);

        void CreateQueue(string queueName);

        void DeleteQueue(string queueName);

        void SendMessage(string queueName, InnerMessageWrapper msg);

        InnerMessageWrapper ReceiveMessage(string queueName, string relatedMsgId="");
    }
}
